home *** CD-ROM | disk | FTP | other *** search
- * Dump2PICT 1.0.1
-
- Was written in MPW Pascal 3.0. It is hereby released to the public domain.
- Sources are provided, along with the executable, in the this archive.
-
- * What does it do?
-
- Dump2PICT converts files from Dump/QRT format, as used by DKBTrace, to and from
- Macintosh PICT format. Such conversions are necessary, because none of the
- output formats that DKBTrace can produce, are commonly supported on the
- Macintosh, so you would have trouble viewing your images without it.
- Also, if you want to use DKBTrace's image-mapping capability, you need to
- supply it with GIF, IFF or Dump images, rather than PICT.
-
- * Dump -> PICT
-
- This is probably the most important conversion, as you need it to view your
- output files without image-manipulation software like Adobe Photoshop.
- You select "Dump -> PICT..." from the "File" menu. You will be presented with
- the familiar Standard File dialogs to select the file to be converted, and to
- name the destination file.
- The PICT file that is produced contains a 24-bit-per-pixel pixmap. This can be
- quite big, though the PICT file will usually be smaller than the original Dump
- file. The good news is that no information is lost in this conversion, so feel
- free to throw away that bulky Dump file!
-
- * PICT -> Dump
-
- If you have PICT files lying around that you want to use as image maps in a
- scene description, you will need to convert them to a format DKBTrace can read.
- Since I was too lazy to add a PICT file reader to DKBTrace, you will have to
- convert your PICT files to Dump, GIF or IFF format. IFF support is hard to find
- on the Macintosh, and GIF files have the disadvantage of losing colour
- information. Dump files are true-colour files (24 bits per pixel), so you
- really should use Dump2PICT to convert your files to Dump format.
- The conversion works just like the Dump -> PICT conversion, using the same
- polished user interface.
-
- * Customizing the PICT file creator
-
- The file creator of PICT files created by Dump2PICT is usually '8BIM', so they
- will be opened by Adobe Photoshop when double-clicked. To change this setting,
- you must change the 'crea' resource in Dump2PICT with ResEdit. To find out what
- to change it to, select "Get File/Folder Info..." in ResEdit, and select the
- graphics application of your choice. Select the contents of the "Creator" field
- and copy it to Dump2PICT's 'crea' resource.
-
- * How come the partition size is only 64K?
-
- Dump2PICT does need a lot of memory to store the image being converted - 32
- bits per pixel, in fact. However, if MultiFinder if running - or if you are
- using System 7.0 or later - the off-screen pixel map is not allocated in the
- application's partition, but in the System's memory pool.
- Note that this will fail if you fill memory completely by launching too many
- applications. You should leave something like 1 megabyte free. By the way, this
- is a good idea generally, since many programs try to satisfy their temporary
- memory requirements this way.
- Obviously, your Mac's memory is used more effectively this way than if you had
- to increase each application's partition to accomodate its worst-case memory
- requirement.
- So, if Dump2PICT fails and you suspect a memory problem, do not increase its
- partition size, but just quit from another application and try again. Under
- UniFinder, you do not need to worry about any of this, as Dump2PICT gets all
- memory anyway.
-
- * System requirements
-
- Dump2PICT needs System 6.0.5 or later, with 32-Bit QuickDraw. Should be no
- problem, since the requirements for running DKBTrace are even worse.
-
- * Changes from 1.0
-
- Fixed problem that caused PICT -> Dump conversion not to work properly under
- System 7.0. Also added code to clear the off-screen pixmap before loading the
- Dump or PICT file into it, preventing garbage from appearing in some cases.
-